package org.skyui.core;

import java.io.Serializable;

import org.skyui.annotations.SkyTab;
import org.skyui.annotations.SkyTable;
import org.skyui.config.BeansTableViewConfig;

import com.vaadin.terminal.ThemeResource;

public class Menu implements Serializable {


	private static final long serialVersionUID = -3655012927292010326L;
	private String name;
	private ThemeResource icon;
	String[]  roles;
	String[] productEditions;
	private SkyTab[] tabs;

	public String getName() {
		return this.name;
	}

	public ThemeResource getIcon() {
		return this.icon;
	}



	public SkyTab[] getTabs() {
		return this.tabs;
	}

	public Menu(String name, String iconFileName, String[] roles,
			String[] productEditions, SkyTab[] tabs) {
		super();
		this.name = name;
		this.icon = new ThemeResource(iconFileName);
		this.roles = roles;
		this.productEditions = productEditions;
		this.tabs = tabs;
	}

	public String[] getRoles() {
		return roles;
	}

	public String[] getProductEditions() {
		return productEditions;
	}

}
